Make remote bookmarks work better (#354887)
authorMatthias Clasen <mclasen@redhat.com>
Fri, 22 Sep 2006 16:11:04 +0000 (16:11 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Fri, 22 Sep 2006 16:11:04 +0000 (16:11 +0000)
2006-09-22  Matthias Clasen  <mclasen@redhat.com>

Make remote bookmarks work better (#354887)

* gtk/gtkfilechooserdefault.c (shortcuts_reload_icons):
(shortcuts_insert_path):
* gtk/gtkfilechooserbutton.c (change_icon_theme):
(model_add_bookmarks):
(model_update_current_folder):
(update_label_and_image):
If the bookmark points to a remote file, don't call get_info(),
since that may a) take a long time and b) pop up an auth dialog.
Instead, just use a folder icon and create a display name
from the uri.

* gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_uri):
New function to create a suitable display name for a remote
uri. This should really be done in GtkFileSystem.

63 files changed:
ChangeLog
gtk/gtkfilechooserbutton.c
gtk/gtkfilechooserdefault.c
po/ChangeLog
po/be.po
po/bg.po
po/bn.po
po/bn_IN.po
po/br.po
po/ca.po
po/cs.po
po/cy.po
po/da.po
po/de.po
po/dz.po
po/el.po
po/en_CA.po
po/en_GB.po
po/es.po
po/et.po
po/eu.po
po/fi.po
po/fr.po
po/gl.po
po/gu.po
po/he.po
po/hi.po
po/hu.po
po/id.po
po/it.po
po/ja.po
po/ka.po
po/ko.po
po/ku.po
po/lt.po
po/lv.po
po/mk.po
po/ml.po
po/mn.po
po/mr.po
po/nb.po
po/nl.po
po/nn.po
po/or.po
po/pa.po
po/pl.po
po/pt.po
po/pt_BR.po
po/ro.po
po/ru.po
po/sk.po
po/sl.po
po/sq.po
po/sr.po
po/sr@Latn.po
po/sv.po
po/ta.po
po/th.po
po/uk.po
po/vi.po
po/zh_CN.po
po/zh_HK.po
po/zh_TW.po

index 77c6a51bccad8424bda612ac83f6625e7c16c5ce..0ae3fb36425d55830c05f7fd982ba2af25f248a4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,22 @@
+2006-09-22  Matthias Clasen  <mclasen@redhat.com>
+
+       Make remote bookmarks work better (#354887)
+       
+       * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): 
+       (shortcuts_insert_path): 
+       * gtk/gtkfilechooserbutton.c (change_icon_theme): 
+       (model_add_bookmarks): 
+       (model_update_current_folder): 
+       (update_label_and_image): 
+       If the bookmark points to a remote file, don't call get_info(), 
+       since that may a) take a long time and b) pop up an auth dialog.
+       Instead, just use a folder icon and create a display name
+       from the uri.
+
+       * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_uri): 
+       New function to create a suitable display name for a remote
+       uri. This should really be done in GtkFileSystem.
+       
 2006-09-21  Michael Natterer  <mitch@imendio.com>
 
        Implement lots of value setters for GdkGC, based on a heavily
index b99274f0953aaf00c29f5c2a19e813b50302a7bc..f00339f1ef7989a8ffa46c02c9310dc2af5277f4 100644 (file)
@@ -1290,23 +1290,34 @@ change_icon_theme (GtkFileChooserButton *button)
        case ROW_TYPE_CURRENT_FOLDER:
          if (data)
            {
-             GtkTreePath *path;
-             GtkFileSystemHandle *handle;
-             struct ChangeIconThemeData *info;
-
-             info = g_new0 (struct ChangeIconThemeData, 1);
-             info->button = g_object_ref (button);
-             path = gtk_tree_model_get_path (priv->model, &iter);
-             info->row_ref = gtk_tree_row_reference_new (priv->model, path);
-             gtk_tree_path_free (path);
-
-             handle =
-               gtk_file_system_get_info (priv->fs, data, GTK_FILE_INFO_ICON,
-                                         change_icon_theme_get_info_cb,
-                                         info);
-             button->priv->change_icon_theme_handles =
-               g_slist_append (button->priv->change_icon_theme_handles, handle);
-             pixbuf = NULL;
+             if (gtk_file_system_path_is_local (priv->fs, (GtkFilePath *)data))
+               {
+                 GtkTreePath *path;
+                 GtkFileSystemHandle *handle;
+                 struct ChangeIconThemeData *info;               
+                 
+                 info = g_new0 (struct ChangeIconThemeData, 1);
+                 info->button = g_object_ref (button);
+                 path = gtk_tree_model_get_path (priv->model, &iter);
+                 info->row_ref = gtk_tree_row_reference_new (priv->model, path);
+                 gtk_tree_path_free (path);
+                 
+                 handle =
+                   gtk_file_system_get_info (priv->fs, data, GTK_FILE_INFO_ICON,
+                                             change_icon_theme_get_info_cb,
+                                             info);
+                 button->priv->change_icon_theme_handles =
+                   g_slist_append (button->priv->change_icon_theme_handles, handle);
+                 pixbuf = NULL;
+               }
+             else
+               /* Don't call get_info for remote paths to avoid latency and
+                * auth dialogs.
+                * If we switch to a better bookmarks file format (XBEL), we
+                * should use mime info to get a better icon.
+                */
+               pixbuf = gtk_icon_theme_load_icon (theme, "gnome-fs-regular",
+                                                  priv->icon_size, 0, NULL);
            }
          else
            pixbuf = gtk_icon_theme_load_icon (theme, FALLBACK_ICON_NAME,
@@ -1465,7 +1476,6 @@ set_info_for_path_at_iter (GtkFileChooserButton *button,
 
   data = g_new0 (struct SetDisplayNameData, 1);
   data->button = g_object_ref (button);
-
   data->label = gtk_file_system_get_bookmark_label (button->priv->fs, path);
 
   tree_path = gtk_tree_model_get_path (button->priv->model, iter);
@@ -1793,6 +1803,8 @@ model_add_volumes (GtkFileChooserButton *button,
     }
 }
 
+extern gchar * _gtk_file_chooser_label_for_uri (const gchar *uri);
+
 static void
 model_add_bookmarks (GtkFileChooserButton *button,
                     GSList               *bookmarks)
@@ -1816,19 +1828,58 @@ model_add_bookmarks (GtkFileChooserButton *button,
 
       path = l->data;
 
-      if (local_only &&
-         !gtk_file_system_path_is_local (button->priv->fs, path))
-       continue;
+      if (gtk_file_system_path_is_local (button->priv->fs, path))
+       {
+         gtk_list_store_insert (store, &iter, pos);
+         gtk_list_store_set (store, &iter,
+                             ICON_COLUMN, NULL,
+                             DISPLAY_NAME_COLUMN, _(FALLBACK_DISPLAY_NAME),
+                             TYPE_COLUMN, ROW_TYPE_BOOKMARK,
+                             DATA_COLUMN, gtk_file_path_copy (path),
+                             IS_FOLDER_COLUMN, FALSE,
+                             -1);
+         set_info_for_path_at_iter (button, path, &iter);
+       }
+      else
+       {
+         gchar *label;
+         GtkIconTheme *icon_theme;
+         GdkPixbuf *pixbuf;
+
+         if (local_only)
+           continue;
+
+         /* Don't call get_info for remote paths to avoid latency and
+          * auth dialogs.
+          * If we switch to a better bookmarks file format (XBEL), we
+          * should use mime info to get a better icon.
+          */
+         label = gtk_file_system_get_bookmark_label (button->priv->fs, path);
+         if (!label)
+           {
+             gchar *uri;
 
-      gtk_list_store_insert (store, &iter, pos);
-      gtk_list_store_set (store, &iter,
-                         ICON_COLUMN, NULL,
-                         DISPLAY_NAME_COLUMN, _(FALLBACK_DISPLAY_NAME),
-                         TYPE_COLUMN, ROW_TYPE_BOOKMARK,
-                         DATA_COLUMN, gtk_file_path_copy (path),
-                         IS_FOLDER_COLUMN, FALSE,
-                         -1);
-      set_info_for_path_at_iter (button, path, &iter);
+             uri = gtk_file_system_path_to_uri (button->priv->fs, path);
+             label = _gtk_file_chooser_label_for_uri (uri);
+             g_free (uri);
+           }
+
+         icon_theme = gtk_icon_theme_get_for_screen (gtk_widget_get_screen (GTK_WIDGET (button)));
+         pixbuf = gtk_icon_theme_load_icon (icon_theme, "gnome-fs-directory", 
+                                            button->priv->icon_size, 0, NULL);
+
+         gtk_list_store_insert (store, &iter, pos);
+         gtk_list_store_set (store, &iter,
+                             ICON_COLUMN, pixbuf,
+                             DISPLAY_NAME_COLUMN, label,
+                             TYPE_COLUMN, ROW_TYPE_BOOKMARK,
+                             DATA_COLUMN, gtk_file_path_copy (path),
+                             IS_FOLDER_COLUMN, TRUE,
+                             -1);
+
+         g_free (label);
+         g_object_unref (pixbuf);
+       }
 
       button->priv->n_bookmarks++;
       pos++;
@@ -1890,14 +1941,53 @@ model_update_current_folder (GtkFileChooserButton *button,
       model_free_row_data (button, &iter);
     }
 
-  gtk_list_store_set (store, &iter,
-                     ICON_COLUMN, NULL,
-                     DISPLAY_NAME_COLUMN, _(FALLBACK_DISPLAY_NAME),
-                     TYPE_COLUMN, ROW_TYPE_CURRENT_FOLDER,
-                     DATA_COLUMN, gtk_file_path_copy (path),
-                     IS_FOLDER_COLUMN, FALSE,
-                     -1);
-  set_info_for_path_at_iter (button, path, &iter);
+  if (gtk_file_system_path_is_local (button->priv->fs, path))
+    {
+      gtk_list_store_set (store, &iter,
+                         ICON_COLUMN, NULL,
+                         DISPLAY_NAME_COLUMN, _(FALLBACK_DISPLAY_NAME),
+                         TYPE_COLUMN, ROW_TYPE_CURRENT_FOLDER,
+                         DATA_COLUMN, gtk_file_path_copy (path),
+                         IS_FOLDER_COLUMN, FALSE,
+                         -1);
+      set_info_for_path_at_iter (button, path, &iter);
+    }
+  else
+    {
+      gchar *label;
+      GtkIconTheme *icon_theme;
+      GdkPixbuf *pixbuf;
+
+      /* Don't call get_info for remote paths to avoid latency and
+       * auth dialogs.
+       * If we switch to a better bookmarks file format (XBEL), we
+       * should use mime info to get a better icon.
+       */
+      label = gtk_file_system_get_bookmark_label (button->priv->fs, path);
+      if (!label)
+       {
+         gchar *uri;
+         
+         uri = gtk_file_system_path_to_uri (button->priv->fs, path);
+         label = _gtk_file_chooser_label_for_uri (uri);
+         g_free (uri);
+       }
+      
+      icon_theme = gtk_icon_theme_get_for_screen (gtk_widget_get_screen (GTK_WIDGET (button)));
+      pixbuf = gtk_icon_theme_load_icon (icon_theme, "gnome-fs-directory", 
+                                        button->priv->icon_size, 0, NULL);
+      
+      gtk_list_store_set (store, &iter,
+                         ICON_COLUMN, pixbuf,
+                         DISPLAY_NAME_COLUMN, label,
+                         TYPE_COLUMN, ROW_TYPE_CURRENT_FOLDER,
+                         DATA_COLUMN, gtk_file_path_copy (path),
+                         IS_FOLDER_COLUMN, TRUE,
+                         -1);
+      
+      g_free (label);
+      g_object_unref (pixbuf);
+    }
 }
 
 static inline void
@@ -2009,6 +2099,7 @@ filter_model_visible_func (GtkTreeModel *model,
       break;
     case ROW_TYPE_VOLUME:
       {
+       retval = TRUE;
        if (local_only)
          {
            if (gtk_file_system_volume_get_is_mounted (priv->fs, data))
@@ -2244,13 +2335,34 @@ update_label_and_image (GtkFileChooserButton *button)
        }
 
       if (priv->update_button_handle)
-       gtk_file_system_cancel_operation (priv->update_button_handle);
-
-      priv->update_button_handle =
-        gtk_file_system_get_info (priv->fs, path,
-                                 GTK_FILE_INFO_DISPLAY_NAME | GTK_FILE_INFO_ICON,
-                                 update_label_get_info_cb,
-                                 g_object_ref (button));
+       {
+         gtk_file_system_cancel_operation (priv->update_button_handle);
+         priv->upate_button_handle = NULL;
+       }
+         
+      if (gtk_file_system_path_is_local (priv->fs, path))
+       {
+         priv->update_button_handle =
+           gtk_file_system_get_info (priv->fs, path,
+                                     GTK_FILE_INFO_DISPLAY_NAME | GTK_FILE_INFO_ICON,
+                                     update_label_get_info_cb,
+                                     g_object_ref (button));
+       }
+      else
+       {
+         GdkPixbuf *pixbuf;
+
+         label_text = gtk_file_system_get_bookmark_label (button->priv->fs, path);
+         
+         pixbuf = gtk_icon_theme_load_icon (get_icon_theme (GTK_WIDGET (priv->image)), 
+                                            "gnome-fs-regular",
+                                            priv->icon_size, 0, NULL);
+         
+         gtk_image_set_from_pixbuf (GTK_IMAGE (priv->image), pixbuf);
+
+         if (pixbuf)
+           g_object_unref (pixbuf);
+       }
     }
 out:
   gtk_file_paths_free (paths);
index c5338b9b69ef938d9d21ae5188e07bc943c09c88..095a8b40d4793bc828a6ef15c89e9b99faeaccf3 100644 (file)
@@ -1177,7 +1177,7 @@ shortcuts_reload_icons (GtkFileChooserDefault *impl)
              if (pixbuf)
                g_object_unref (pixbuf);
            }
-         else
+         else if (gtk_file_system_path_is_local (impl->file_system, (GtkFilePath *)data))
            {
              const GtkFilePath *path;
              struct ReloadIconsData *info;
@@ -1198,6 +1198,26 @@ shortcuts_reload_icons (GtkFileChooserDefault *impl)
                                                 info);
              impl->reload_icon_handles = g_slist_append (impl->reload_icon_handles, handle);
            }
+         else
+           {
+             GtkIconTheme *icon_theme;
+
+             /* Don't call get_info for remote paths to avoid latency and
+              * auth dialogs.
+              * If we switch to a better bookmarks file format (XBEL), we
+              * should use mime info to get a better icon.
+              */
+             icon_theme = gtk_icon_theme_get_for_screen (gtk_widget_get_screen (GTK_WIDGET (impl)));
+             pixbuf = gtk_icon_theme_load_icon (icon_theme, "gnome-fs-directory", 
+                                                impl->icon_size, 0, NULL);
+
+             gtk_list_store_set (impl->shortcuts_model, &iter,
+                                 SHORTCUTS_COL_PIXBUF, pixbuf,
+                                 -1);
+
+             if (pixbuf)
+               g_object_unref (pixbuf);
+           }
        }
     }
   while (gtk_tree_model_iter_next (GTK_TREE_MODEL (impl->shortcuts_model),&iter));
@@ -1430,6 +1450,54 @@ out:
   g_object_unref (handle);
 }
 
+/* FIXME: GtkFileSystem needs a function to split a remote path
+ * into hostname and path components, or maybe just have a 
+ * gtk_file_system_path_get_display_name().
+ *
+ * This function is also used in gtkfilechooserbutton.c
+ */
+gchar *
+_gtk_file_chooser_label_for_uri (const gchar *uri)
+{
+  const gchar *path, *start, *end, *p;
+  gchar *host, *label;
+  
+  start = strstr (uri, "://");
+  start += 3;
+  path = strchr (start, '/');
+  
+  if (path)
+    end = path;
+  else
+    {
+      end = uri + strlen (uri);
+      path = "/";
+    }
+
+  /* strip username */
+  p = strchr (start, '@');
+  if (p && p < end)
+    {
+      start = p + 1;
+    }
+  
+  p = strchr (start, ':');
+  if (p && p < end)
+    end = p;
+  
+  host = g_strndup (start, end - start);
+
+  /* Translators: the first string is a path and the second string 
+   * is a hostname. Nautilus and the panel contain the same string 
+   * to translate. 
+   */
+  label = g_strdup_printf (_("%1$s on %2$s"), path, host);
+  
+  g_free (host);
+
+  return label;
+}
+
 /* Inserts a path in the shortcuts tree, making a copy of it; alternatively,
  * inserts a volume.  A position of -1 indicates the end of the tree.
  */
@@ -1447,6 +1515,7 @@ shortcuts_insert_path (GtkFileChooserDefault *impl,
   GdkPixbuf *pixbuf = NULL;
   gpointer data = NULL;
   GtkTreeIter iter;
+  GtkIconTheme *icon_theme;      
 
   profile_start ("start", is_volume ? "volume" : (char *) path);
 
@@ -1457,7 +1526,7 @@ shortcuts_insert_path (GtkFileChooserDefault *impl,
       pixbuf = gtk_file_system_volume_render_icon (impl->file_system, volume, GTK_WIDGET (impl),
                                                   impl->icon_size, NULL);
     }
-  else
+  else if (gtk_file_system_path_is_local (impl->file_system, path))
     {
       struct ShortcutsInsertRequest *request;
       GtkFileSystemHandle *handle;
@@ -1496,9 +1565,32 @@ shortcuts_insert_path (GtkFileChooserDefault *impl,
 
       return;
     }
+  else
+    {
+      /* Don't call get_info for remote paths to avoid latency and
+       * auth dialogs.
+       */
+      data = gtk_file_path_copy (path);
+      if (label)
+       label_copy = g_strdup (label);
+      else
+       {
+         gchar *uri;
+
+         uri = gtk_file_system_path_to_uri (impl->file_system, path);
+
+         label_copy = _gtk_file_chooser_label_for_uri (uri);
 
-  if (!data)
-    data = gtk_file_path_copy (path);
+         g_free (uri);
+       }
+    
+      /* If we switch to a better bookmarks file format (XBEL), we
+       * should use mime info to get a better icon.
+       */
+      icon_theme = gtk_icon_theme_get_for_screen (gtk_widget_get_screen (GTK_WIDGET (impl)));
+      pixbuf = gtk_icon_theme_load_icon (icon_theme, "gnome-fs-directory", 
+                                        impl->icon_size, 0, NULL);
+    }
 
   if (pos == -1)
     gtk_list_store_append (impl->shortcuts_model, &iter);
@@ -1711,6 +1803,7 @@ shortcuts_add_volumes (GtkFileChooserDefault *impl)
 
   profile_start ("start", NULL);
 
+
   old_changing_folders = impl->changing_folder;
   impl->changing_folder = TRUE;
 
@@ -1797,7 +1890,6 @@ shortcuts_add_bookmarks (GtkFileChooserDefault *impl)
 
   profile_start ("start", NULL);
         
-
   old_changing_folders = impl->changing_folder;
   impl->changing_folder = TRUE;
 
index fbdabb3cf093acf97c85cdc3dedeab9f71fac8b8..2da45f9042fa6854d77eba7e774ae595f8a28a4b 100644 (file)
@@ -1,3 +1,8 @@
+2006-09-22  Matthias Clasen  <mclasen@redhat.com>
+
+       * *.po: Copy existing translations for a new string
+       from the panel.
+
 2006-09-21  Priit Laes  <plaes@cvs.gnome.org>
 
        * et.po: Translation updated by Ivar Smolin.
index 401b8e49692af0898aabe0fc1ba54e731cd089ee..cc40548a3e18e38e0496946931ce2110f18e1463 100644 (file)
--- a/po/be.po
+++ b/po/be.po
@@ -4534,3 +4534,6 @@ msgstr ""
 
 #~ msgid "Zoom to _Fit"
 #~ msgstr "Маштаб най_лепшы"
+
+msgid "%1$s on %2$s"
+msgstr "%1$s на вузьле %2$s"
index dc3c4bc5703ffee71803468431c61422a9fc4f87..6bf617111cfcbd2324e4b2018f6c2356ff5f6511 100644 (file)
--- a/po/bg.po
+++ b/po/bg.po
@@ -4216,3 +4216,6 @@ msgstr ""
 
 #~ msgid "PNM image format is invalid"
 #~ msgstr "Невалиден формат на изображение тип PNM"
+
+msgid "%1$s on %2$s"
+msgstr "%1$s на %2$s"
index 4d579bb4c4a18e87dd34a74a5873d01c85dde9c9..18d453860294b9366be2cb07b64d57e3e2dca23f 100644 (file)
--- a/po/bn.po
+++ b/po/bn.po
@@ -4169,3 +4169,6 @@ msgid ""
 msgstr ""
 "'%s''এ কোনো থিম ইন্ডেক্স ফাইল উপস্থিত নেই।\n"
 "এই স্থানে আইকন ক্যাশে নির্মাণের জন্য --ignore-theme-index ব্যবহার করুন।\n"
+
+msgid "%1$s on %2$s"
+msgstr "%1$s, %2$s'র উপর"
index 7e3e01a0f3b34f1f8b000144ee8ea1f4592e5e63..cb5d165312ba564810e91b11448fa1528ff071c4 100644 (file)
@@ -4291,3 +4291,6 @@ msgid ""
 msgstr ""
 "'%s''এ কোনো থিম ইন্ডেক্স ফাইল উপস্থিত নেই।\n"
 "এই স্থানে আইকন ক্যাশে নির্মাণের জন্য --ignore-theme-index ব্যবহার করুন।\n"
+
+msgid "%1$s on %2$s"
+msgstr "%1$s, %2$s'র উপর"
index 8d0fed012940c72d7ffb77eb51077cef3e4ada6b..5881189f822a87f903c5bde1912bcb799d01d412 100644 (file)
--- a/po/br.po
+++ b/po/br.po
@@ -4456,3 +4456,6 @@ msgstr ""
 
 #~ msgid "Gravity"
 #~ msgstr "Dedennerezh"
+
+msgid "%1$s on %2$s"
+msgstr "%1$s war %2$s"
index cc5b0578b9fd32da6f43273a1e8ee616fabb63a4..e5773e8206918cee262a4f2db8d06216fddbfe09 100644 (file)
--- a/po/ca.po
+++ b/po/ca.po
@@ -4343,3 +4343,6 @@ msgstr ""
 
 #~ msgid "_Up"
 #~ msgstr "A _dalt"
+
+msgid "%1$s on %2$s"
+msgstr "%1$s a %2$s"
index d04357d23bf42369555cb58360ae7f61644627f5..0c0dd1b57a70691fb946ab34a64442d3168ea061 100644 (file)
--- a/po/cs.po
+++ b/po/cs.po
@@ -4341,3 +4341,6 @@ msgid ""
 "No theme index file in '%s'.\n"
 "If you really want to create an icon cache here, use --ignore-theme-index.\n"
 msgstr ""
+
+msgid "%1$s on %2$s"
+msgstr "%1$s na %2$s"
index 290aa98f3c51c58b958c75b8a4fb8d47f5087f4f..03bd5696afae9af14a2c2e75691cd0d993694dd2 100644 (file)
--- a/po/cy.po
+++ b/po/cy.po
@@ -5549,3 +5549,6 @@ msgstr ""
 
 #~ msgid "Text to render"
 #~ msgstr "Y testun i'w lunio"
+
+msgid "%1$s on %2$s"
+msgstr "%1$s ar %2$s"
index 05dcbbad36d43f2b3fd0d8dbd8fe16f73aac488f..806e7b9e81411db53a3406ee1325da4436048629 100644 (file)
--- a/po/da.po
+++ b/po/da.po
@@ -4579,3 +4579,6 @@ msgstr ""
 
 #~ msgid "Zoom to _Fit"
 #~ msgstr "Zoom _tilpasset"
+
+msgid "%1$s on %2$s"
+msgstr "%1$s på %2$s"
index d9227bbf26639ea3dacf6d2a170ca75d3610406a..0c73f6773e5a3112d67b2a07d29a36504323df2a 100644 (file)
--- a/po/de.po
+++ b/po/de.po
@@ -4825,3 +4825,6 @@ msgstr ""
 
 #~ msgid "Folder"
 #~ msgstr "Ordner"
+
+msgid "%1$s on %2$s"
+msgstr "%1$s, %2$s"
index 564542b395277b57c33095a975a626ea0d6445e6..be9c53a531cb90450d4bb966cebb5d1b4cff7dcc 100644 (file)
--- a/po/dz.po
+++ b/po/dz.po
@@ -4854,3 +4854,6 @@ msgstr ""
 
 #~ msgid "_Up"
 #~ msgstr "ཡར།(_U)"
+
+msgid "%1$s on %2$s"
+msgstr "%1$s, %2$s གུ"
index 7f3ba965b14d16e569f8751c377961eef6fc2d67..d64a558e2f267d687a22d56bbc6126ad5bcc2bde 100644 (file)
--- a/po/el.po
+++ b/po/el.po
@@ -4232,3 +4232,6 @@ msgstr ""
 
 #~ msgid "PNM image format is invalid"
 #~ msgstr "Μη έγκυρος τύπος εικόνας PNM"
+
+msgid "%1$s on %2$s"
+msgstr "%1$s σε %2$s"
index 04eb6c602ec4312f1c68259ccbabd78b3738a715..0784a22184424d0b78b28273e59706033454def6 100644 (file)
@@ -4451,3 +4451,6 @@ msgstr ""
 
 #~ msgid "Pixmap path element: \"%s\" must be absolute, %s, line %d"
 #~ msgstr "Pixmap path element: \"%s\" must be absolute, %s, line %d"
+
+msgid "%1$s on %2$s"
+msgstr "%1$s on %2$s"
index 51b7688961ce0a2f75a07941bb2bd5182ee12b63..863bccddb1233bcbc53ed8cdac15c314a814f401 100644 (file)
@@ -4275,3 +4275,6 @@ msgstr ""
 #~ msgid "_Up"
 #~ msgstr "_Up"
 
+
+msgid "%1$s on %2$s"
+msgstr "%1$s on %2$s"
index d587d6dbed176772957dfefa5a3e4e80371731db..0d54ce30ccca61fbad3f45281a752d86f50a5a4b 100644 (file)
--- a/po/es.po
+++ b/po/es.po
@@ -4227,3 +4227,6 @@ msgstr ""
 "No hay archivo de índice del tema en «%s».\n"
 "Si realmente quiere crear un caché de iconos aquí, use --ignore-theme-"
 "index.\n"
+
+msgid "%1$s on %2$s"
+msgstr "%1$s en %2$s"
index 6a4e4f9b98d0ae884655ad7c9786e87fedca0188..8ed70ba8b3b3ff045bad50d9aadc0fa25893c844 100644 (file)
--- a/po/et.po
+++ b/po/et.po
@@ -4168,3 +4168,6 @@ msgid ""
 "No theme index file in '%s'.\n"
 "If you really want to create an icon cache here, use --ignore-theme-index.\n"
 msgstr ""
+
+msgid "%1$s on %2$s"
+msgstr "%2$s hostil %1$s"
index 9a1af12bd48be57b2fd88dc1f6c37d7368a42e9c..69630954cf5accc7a444166a0cda211e37328e3c 100644 (file)
--- a/po/eu.po
+++ b/po/eu.po
@@ -4322,3 +4322,6 @@ msgid ""
 msgstr ""
 "Ez dago gaiaren indize fitxategirik '%s'(e)n.\n"
 "Ikono-cache bat sortzea nahi baduzu erabili --ignore-theme-index.\n"
+
+msgid "%1$s on %2$s"
+msgstr "%1$s, %2$s"
index a02c8225e9a0cd9c7349831f589d57fe13309d79..05eac274752606ae271ef909f42c1850b45e90e5 100644 (file)
--- a/po/fi.po
+++ b/po/fi.po
@@ -4766,3 +4766,6 @@ msgstr ""
 
 #~ msgid "Pixmap path element: \"%s\" must be absolute, %s, line %d"
 #~ msgstr "Kuvan polku \"%s\" ei voi olla suhteellinen, %s, rivi %d"
+
+msgid "%1$s on %2$s"
+msgstr "%1$s - %2$s"
index 9f8256e003f6aa94eacb355613b11a08326e309e..ec5deb90fd19d32ddb2f5297c7b63470da31a7ec 100644 (file)
--- a/po/fr.po
+++ b/po/fr.po
@@ -4236,3 +4236,6 @@ msgstr ""
 "Aucun fichier d'index de thème dans « %s ».\n"
 "Si vous souhaitez vraiment créer un cache d'icône ici, utilisez --ignore-"
 "theme-index.\n"
+
+msgid "%1$s on %2$s"
+msgstr "%1$s sur %2$s"
index 094780101d97c4804a53cee7fd3aedc6ea1d70ec..a322ea7dfa881e7df7c6577cd4f4ad741c6b54fe 100644 (file)
--- a/po/gl.po
+++ b/po/gl.po
@@ -4881,3 +4881,6 @@ msgstr ""
 
 #~ msgid "shortcut %s already exists"
 #~ msgstr "o atallo %s xa existe"
+
+msgid "%1$s on %2$s"
+msgstr "%1$s en %2$s"
index b84780b73802ffc63638b892024a0f7aaefb026f..577e6d146e91192dfde449ef6ede5bce80ea460a 100644 (file)
--- a/po/gu.po
+++ b/po/gu.po
@@ -4576,3 +4576,6 @@ msgid ""
 msgstr ""
 "'%s' માં કોઈ થીમ અનુક્રમ ફાઈલ નથી.\n"
 "જો તમે ખરેખર ચિહ્ન કેશ અંહિ બનાવવા માંગો, તો --ignore-theme-index વાપરો.\n"
+
+msgid "%1$s on %2$s"
+msgstr "%1$s, %2$s પર"
index a25a895e614b5f8697fd6ee5627d209ced8c7f75..072216875f9c20a62ec96e2e09aa48028c268ff3 100644 (file)
--- a/po/he.po
+++ b/po/he.po
@@ -4746,3 +4746,6 @@ msgstr ""
 
 #~ msgid "Unsupported TIFF variant"
 #~ msgstr "סוג TIFF לא נתמך"
+
+msgid "%1$s on %2$s"
+msgstr "‏%1$s ב-%2$s"
index 4fc2b230ffa02ae562d88d763407b7cd34f757a5..578644bc443207eedcfae6e680f0aef96d1c1a47 100644 (file)
--- a/po/hi.po
+++ b/po/hi.po
@@ -4335,3 +4335,6 @@ msgid ""
 "No theme index file in '%s'.\n"
 "If you really want to create an icon cache here, use --ignore-theme-index.\n"
 msgstr ""
+
+msgid "%1$s on %2$s"
+msgstr "%1$s %2$s पर"
index a6a37f05a3d8fa87987a20bac9f6ab81beed5f65..525c0114ab6268fe0b46c7a8576d0778417b677f 100644 (file)
--- a/po/hu.po
+++ b/po/hu.po
@@ -4184,3 +4184,6 @@ msgid ""
 msgstr "Nem található témaindexfájl a következőben: \"%s\".\n"
 "HA valóban ikongyorsítótárat kíván itt létrehozni, akkor használja a --ignore-theme-index kapcsolót.\n"
 
+
+msgid "%1$s on %2$s"
+msgstr "%1$s ezen: %2$s"
index 3089cc8dfb0b9c5d062e548fcb351cde2d0917c9..42ac216c81b8a4c7d5e21dc0315d896b44943de0 100644 (file)
--- a/po/id.po
+++ b/po/id.po
@@ -4276,3 +4276,6 @@ msgstr ""
 
 #~ msgid "Home"
 #~ msgstr "Rumah"
+
+msgid "%1$s on %2$s"
+msgstr "%1$s pada %2$s"
index 937ad607766e33458531c61cb04125688c76e8df..f816d5de22f067116ee5db742e7d9349435f455e 100644 (file)
--- a/po/it.po
+++ b/po/it.po
@@ -4521,3 +4521,6 @@ msgstr ""
 #, fuzzy
 #~ msgid "shortcut %s already exists"
 #~ msgstr "La scorciatoia %s non esiste"
+
+msgid "%1$s on %2$s"
+msgstr "%1$s su %2$s"
index f6d9d2fe2f0f937e1108cde5a6705d3c39286a0b..261ae5bff14f72855e4a304aa3229a41e47a5a73 100644 (file)
--- a/po/ja.po
+++ b/po/ja.po
@@ -4850,3 +4850,6 @@ msgstr ""
 
 #~ msgid "This function is not implemented for widgets of class '%s'."
 #~ msgstr "この関数は '%s' クラスのウィジットでは実装されていません"
+
+msgid "%1$s on %2$s"
+msgstr "%2$s にある %1$s"
index 0258d6806826e80e7d7218bd0b43b862fd20daaa..b2e9e6ecd2439b1ec38317757777246b4163c2ad 100644 (file)
--- a/po/ka.po
+++ b/po/ka.po
@@ -4431,3 +4431,6 @@ msgstr ""
 
 #~ msgid "Home"
 #~ msgstr "ჩემი სახლი"
+
+msgid "%1$s on %2$s"
+msgstr "%1$s - %2$s"
index ab578d9759d1ed22f40c82fca49362cf43dfc162..3ccb9bcece6cad787a23fd6de7d1f9db0b75b6dd 100644 (file)
--- a/po/ko.po
+++ b/po/ko.po
@@ -4832,3 +4832,6 @@ msgstr ""
 
 #~ msgid "A <text> element has already been specified"
 #~ msgstr "<text> 엘리먼트가 이미 지정되었습니다"
+
+msgid "%1$s on %2$s"
+msgstr "%s %s"
index e3b569dfeffc47726e80e323b03160faa9f7a207..f7ad192c96e1777e7e5595ab80b02af6fa0153de 100644 (file)
--- a/po/ku.po
+++ b/po/ku.po
@@ -4422,3 +4422,6 @@ msgstr ""
 
 #~ msgid "Pixmap path element: \"%s\" must be absolute, %s, line %d"
 #~ msgstr "Endamê nexşeya Pix: \"%s\" Pêwiste ku bê kêmasî be  %s, rêzik %d"
+
+msgid "%1$s on %2$s"
+msgstr "%1$s di %2$s de"
index 56269abacd43bd3219ddc1c42decf5f179b0ea6c..6610dfdf2c9050c7166ea84fe5d0cd23194493a2 100644 (file)
--- a/po/lt.po
+++ b/po/lt.po
@@ -4199,3 +4199,6 @@ msgstr ""
 
 #~ msgid "PNM image format is invalid"
 #~ msgstr "PNM paveikslėlio formatas yra neteisingas"
+
+msgid "%1$s on %2$s"
+msgstr "%1$s kompiuteryje %2$s"
index af3ba56dbaa46fa9510eaac04fbcc7b0ba430405..4fd22048d400abd8ba0947c1100bdace55209643 100644 (file)
--- a/po/lv.po
+++ b/po/lv.po
@@ -4285,3 +4285,6 @@ msgid ""
 "If you really want to create an icon cache here, use --ignore-theme-index.\n"
 msgstr ""
 
+
+msgid "%1$s on %2$s"
+msgstr "%1$s uz %2$s"
index ab5c5e5320cf75ee4fadd6e0691f60767fdc5070..f0c0aa460c89e549b8cdcd7fffda4857df4c2e72 100644 (file)
--- a/po/mk.po
+++ b/po/mk.po
@@ -4198,3 +4198,6 @@ msgstr ""
 "Ако навистина сакате да креирате кеш за икони овде, тогаш користете --ignore-"
 "theme-index.\n"
 
+
+msgid "%1$s on %2$s"
+msgstr "%1$s на %2$s"
index a86940cfc4fe36657d26203e9b7398a77bc1c48e..b5c572c8e031ae5a8d606ca54302a6c79c136fee 100644 (file)
--- a/po/ml.po
+++ b/po/ml.po
@@ -4206,3 +4206,6 @@ msgstr ""
 "'%s'-ല്‍ ഥീം ഇന്‍ഡെക്സ് ഫയലില്ല.\n"
 "നിങ്ങള്‍ക്ക് ഇവിടെ ഒരു ഐക്കണ്‍ cache ഉണ്ടാക്കണമെങ്കില്‍ , --ignore-theme-index ഉപയോഗിക്കുക.\n"
 
+
+msgid "%1$s on %2$s"
+msgstr "%2$s-ല്‍ %1$s"
index b0273354f2da437cc16003bcf66539f5c32086a6..403b6ba9ab1c4032d4396ebed25d85673c6e0471 100644 (file)
--- a/po/mn.po
+++ b/po/mn.po
@@ -4990,3 +4990,6 @@ msgstr ""
 # gtk/gtkcolorsel.c:1718
 #~ msgid "Current folder: %s"
 #~ msgstr "Идэвхитэй хавтас: %s"
+
+msgid "%1$s on %2$s"
+msgstr "%1$s, %2$s"
index 587cde158af4beb7c7b7b9b3d0d256e7fede4d69..b44fa98543f940d7b9019d8ea0d82195dedebf3c 100644 (file)
--- a/po/mr.po
+++ b/po/mr.po
@@ -4700,3 +4700,6 @@ msgid ""
 "If you really want to create an icon cache here, use --ignore-theme-index.\n"
 msgstr ""
 
+
+msgid "%1$s on %2$s"
+msgstr "%s, %s"
index 84647caef10c5637e95890f6e5669baba971ffc8..f12304fea9bba4f2cca12dba31019b4d3af7261f 100644 (file)
--- a/po/nb.po
+++ b/po/nb.po
@@ -4308,3 +4308,6 @@ msgstr ""
 
 #~ msgid "Image has unsupported number of %u-bit planes"
 #~ msgstr "Bildet har ustøttet antall %u-bitplan"
+
+msgid "%1$s on %2$s"
+msgstr "%1$s på %2$s"
index e93d3d76777882c924167492891bceba51c2a7f1..5e9d0c93301a634cb20b11f4a2c95c5799333220 100644 (file)
--- a/po/nl.po
+++ b/po/nl.po
@@ -5226,3 +5226,6 @@ msgstr ""
 
 #~ msgid "This file system does not support icons"
 #~ msgstr "Dit bestandsysteem ondersteunt geen pictogrammen"
+
+msgid "%1$s on %2$s"
+msgstr "%1$s op %2$s"
index 88f2f9c1e323b87821599a3c9633caed012989fb..e4c08163e4e8c2b21a00b49854a6ef62d4afa5c7 100644 (file)
--- a/po/nn.po
+++ b/po/nn.po
@@ -4560,3 +4560,6 @@ msgstr ""
 
 #~ msgid "Unsupported TIFF variant"
 #~ msgstr "Ustøtta TIFF-variant"
+
+msgid "%1$s on %2$s"
+msgstr "%1$s på %2$s"
index 729b0b5f37b3fc5a01e6cc4b9048714d12347635..43cee954158f98f303b94d95e2464aa0f4fff7e1 100644 (file)
--- a/po/or.po
+++ b/po/or.po
@@ -4298,3 +4298,6 @@ msgstr ""
 "'%s' ରେ କୌଣସି ପ୍ରସଙ୍ଗ ଅନୁକ୍ରମଣିକା ଫାଇଲ ନାହିଁ।\n"
 "ଯଦି ଆପଣ ପ୍ରକ୍ରୁତରେ ଏଠାରେ ଗୋଟିଏ ଚିତ୍ରସଙ୍କେତ କ୍ଯାଶେକୁ ସ୍ରୁଷ୍ଟି କରିବା ପାଇଁ ଚାହୁଁଛନ୍ତି, ତାହାହେଲେ--"
 "ignore-theme-index ନିର୍ଦ୍ଦେଶ କୁ ବ୍ଯବହାର କରନ୍ତୁ।\n"
+
+msgid "%1$s on %2$s"
+msgstr "%1$s %2$sରେ"
index 50e05264f3beb1c98f04fcebe515163ce075802d..31add94be4ae66a3533a556b754e55005314d09e 100644 (file)
--- a/po/pa.po
+++ b/po/pa.po
@@ -4776,3 +4776,6 @@ msgstr ""
 
 #~ msgid "ROC 8k"
 #~ msgstr "ROC 8k"
+
+msgid "%1$s on %2$s"
+msgstr "%2$s ਉੱਤੇ %1$s"
index 510276444090ce5393f06fddb71a9dc5027fc37f..5706636d44f46ff8a877e761dd69b263bef06c5c 100644 (file)
--- a/po/pl.po
+++ b/po/pl.po
@@ -4335,3 +4335,6 @@ msgstr ""
 "Brak pliku indeksu motywu w \"%s\".\n"
 "Jeżeli naprawdę chcesz tutaj utworzyć bufor ikon, użyj --ignore-theme-"
 "index.\n"
+
+msgid "%1$s on %2$s"
+msgstr "%1$s na %2$s"
index 256e2595948c36428ad49742e93440b1d4f67f9e..f071b075ff21a8e3ce051ce778a5962474409d18 100644 (file)
--- a/po/pt.po
+++ b/po/pt.po
@@ -4498,3 +4498,6 @@ msgstr ""
 
 #~ msgid "This file system does not support bookmarks"
 #~ msgstr "Este sistema de ficheiros não suporta marcadores"
+
+msgid "%1$s on %2$s"
+msgstr "%1$s em %2$s"
index eff5ffddac495786a1fbbbe4a7d17f384a2058ef..3e5bc73659f9c6e51672858f52201e8e309a9ff5 100644 (file)
@@ -4571,3 +4571,6 @@ msgstr ""
 #~ msgid "_Up"
 #~ msgstr "_Acima"
 
+
+msgid "%1$s on %2$s"
+msgstr "%1$s em %2$s"
index 1ee7c0c75de73afc5a0e2768cfb58442e19f96a1..6c0295f1b600f9c5df1ac01935718848edefe24a 100644 (file)
--- a/po/ro.po
+++ b/po/ro.po
@@ -4201,3 +4201,6 @@ msgstr ""
 "Dacă chiar doriţi să creaţi aici un cache pentru iconiţe, utilizaţi "
 "--ignore-theme-index.\n"
 
+
+msgid "%1$s on %2$s"
+msgstr "%1$s pe %2$s"
index d98adec348bb9399419c2690a0ef50ccd9cd5895..db3f4f031b81fd11ab40dc220c4989c6ec726fff 100644 (file)
--- a/po/ru.po
+++ b/po/ru.po
@@ -4219,3 +4219,6 @@ msgstr ""
 "Нет индексного файла темы в \"%s\".\n"
 "Если Вы действительно хотите создать здесь кеш значков, используйте --ignore-"
 "theme-index.\n"
+
+msgid "%1$s on %2$s"
+msgstr "%1$s на %2$s"
index ea352904902c487d169504f95d903711b047a911..a9d6c9bf97ca29327eb4ad634201e3da259fe7db 100644 (file)
--- a/po/sk.po
+++ b/po/sk.po
@@ -4458,3 +4458,6 @@ msgstr ""
 
 #~ msgid "Pixmap path element: \"%s\" must be absolute, %s, line %d"
 #~ msgstr "Element cesty k pixmap: \"%s\" musí byť absolútny, %s, riadok %d"
+
+msgid "%1$s on %2$s"
+msgstr "%1$s na %2$s"
index b10ba41035fb67f132ddc9f944d27cb990294683..85be74440b277fd676886ade1ff552b5055079ba 100644 (file)
--- a/po/sl.po
+++ b/po/sl.po
@@ -4560,3 +4560,6 @@ msgstr ""
 
 #~ msgid "Zoom to _Fit"
 #~ msgstr "Povečaj na _stran"
+
+msgid "%1$s on %2$s"
+msgstr "%1$s na %2$s"
index e0048502d59001eeb8dbb897090d8ecca9a2a331..b9553964225f50f01c7c4dfeec1c67e7014b607c 100644 (file)
--- a/po/sq.po
+++ b/po/sq.po
@@ -4431,3 +4431,6 @@ msgstr ""
 #~ msgid "Pixmap path element: \"%s\" must be absolute, %s, line %d"
 #~ msgstr ""
 #~ "Pozicioni i elementit pixmap: \"%s\" duhet të jetë absolut, %s, rreshti %d"
+
+msgid "%1$s on %2$s"
+msgstr "%1$s mbi %2$s"
index db26f6175abfb621be73bcb17d7698602b43af60..db9a5f45d6f977a15c9c7d8ac48357a34a56d652 100644 (file)
--- a/po/sr.po
+++ b/po/sr.po
@@ -4411,3 +4411,6 @@ msgstr ""
 
 #~ msgid "This file system does not support bookmarks"
 #~ msgstr "Овај систем датотека не подржава обележиваче"
+
+msgid "%1$s on %2$s"
+msgstr "%1$s на %2$s"
index 1d7f75b70560049fd8e6c16c910f6db0ff142247..1d62e01601bd24055294a289a46080e79c22d9b4 100644 (file)
@@ -4411,3 +4411,6 @@ msgstr ""
 
 #~ msgid "This file system does not support bookmarks"
 #~ msgstr "Ovaj sistem datoteka ne podržava obeleživače"
+
+msgid "%1$s on %2$s"
+msgstr "%1$s na %2$s"
index 424eff0bb3f2363ff52dfcb2518dd7ba992f4bed..5c7521c582536cf5c34bc13072e5b321a1885b5a 100644 (file)
--- a/po/sv.po
+++ b/po/sv.po
@@ -4387,3 +4387,6 @@ msgstr ""
 #~ msgid "Create _Folder"
 #~ msgstr "Skapa _mapp"
 
+
+msgid "%1$s on %2$s"
+msgstr "%1$s på %2$s"
index 2c3c5d9a42d4bc69021decd682c8e622fd4cb21a..32f3749ecaa411736164a4a411e570602cfc6fd3 100644 (file)
--- a/po/ta.po
+++ b/po/ta.po
@@ -4166,3 +4166,6 @@ msgstr ""
 "நீங்கள் ஒரு சின்னத்தின் இடமாற்றினை உருவாக்க நினைத்தால், --ignore-theme-index ஐ "
 "பயன்படுத்தவும்.\n"
 
+
+msgid "%1$s on %2$s"
+msgstr "%1$s on %2$s"
index 7750cb03f58220262d6660a9a4a039e0baf504be..93d679d5158d438806e58b6483ac7ca9521d529a 100644 (file)
--- a/po/th.po
+++ b/po/th.po
@@ -4927,3 +4927,6 @@ msgstr ""
 
 #~ msgid "Zoom to _Fit"
 #~ msgstr "ขยายให้พอดี (_F)"
+
+msgid "%1$s on %2$s"
+msgstr "%1$s ที่ %2$s"
index 2f13fbb37c2932b024cf133dba761a1573723236..90b12ed0ca5195caa0be84c2f67743a6c334a516 100644 (file)
--- a/po/uk.po
+++ b/po/uk.po
@@ -4332,3 +4332,6 @@ msgstr ""
 "Немає індексного файлу теми у \"%s\".\n"
 "Якщо ви дійсно бажаєте створити тут кеш значків, використовуйте --ignore-"
 "theme-index.\n"
+
+msgid "%1$s on %2$s"
+msgstr "%1$s на %2$s"
index a51e62ca3abcfc2c82a13fae87813f9ff7500cfc..3df36cdc28d1b8202aed1844ee2e826559005707 100644 (file)
--- a/po/vi.po
+++ b/po/vi.po
@@ -4250,4 +4250,6 @@ msgid ""
 "No theme index file in '%s'.\n"
 "If you really want to create an icon cache here, use --ignore-theme-index.\n"
 msgstr "Không có tập tin chỉ mục sắc thái nằm trong « %s ».\n"
-"Nếu bạn thật muốn tạo một bộ nhớ biểu tượng ở đây, hãy dùng « --ignore-theme-index ».\n"
\ No newline at end of file
+"Nếu bạn thật muốn tạo một bộ nhớ biểu tượng ở đây, hãy dùng « --ignore-theme-index ».\n"
+msgid "%1$s on %2$s"
+msgstr "%1$s trên %2$s"
index 0a7e4a2429dcbc402ad542bcd5f3c82491f424f0..843193a5a36d9386a11e7f3cbb150d5cc9e5d40c 100644 (file)
@@ -4141,3 +4141,6 @@ msgid ""
 msgstr ""
 "“%s”中没有主题索引文件。\n"
 "如果您真的想要在此创建图标缓存,请使用 --ignore-theme-index。\n"
+
+msgid "%1$s on %2$s"
+msgstr "%2$s 上的 %1$s"
index 8231b0e7f41b8a6ee0cfb4a192e007fc2cecfab9..c45f5049bd8d74ed9b3082b2a7b042d1af65880b 100644 (file)
@@ -4723,3 +4723,6 @@ msgstr ""
 
 #~ msgid "Home"
 #~ msgstr "個人資料夾"
+
+msgid "%1$s on %2$s"
+msgstr "%1$s 於 %2$s"
index 1ed355c8a2e68c7a7eb85256d0f58b7810d2ec92..1b8c4e0e4d0503442741bdc2083e390936333fa2 100644 (file)
@@ -4727,3 +4727,6 @@ msgstr ""
 
 #~ msgid "Home"
 #~ msgstr "個人資料夾"
+
+msgid "%1$s on %2$s"
+msgstr "%1$s 於 %2$s"